#pragma once

#include <QtWidgets/QMainWindow>
#include "ui_AST_QT.h"
#include <Windows.h>
#include "Global_Include.h"
class AST_QT : public QMainWindow
{
	Q_OBJECT

public:
	AST_QT(QWidget* parent = nullptr);
	~AST_QT();

public slots:
	void PushButtonHomeClick();
	void PushButtonRestoreSystemClicked();
	void PushButtonDownloadSystemClicked();
	void PushButtonViewImageFileClicked();
	void comboBoxSystemPartitionIndexChanged(int Index);
	void comboBoxImageIndexChanged(int Index);
	void pushButtonUnlockPartitionClicked();
	void comboBoxEfiPartitionIndexChanged(int Index);
	void checkBoxCopyLogToDesktopStateChanged(int Checked);
	void comboBoxAfterCreateEnviormentIndexChanged(int Index);
	void pushButtonCreateEnviormentClicked();
	void pushButtonBackupSystemClicked();
	bool CreatePePartition(
		std::wstring WimFilePath,
		std::wstring SdiFilePath,

		std::wstring ImageFilePath,
		int SelectedIndex,

		WCHAR SystemReinstallPartition,
		WCHAR EfiPartitionLetter,

		std::vector<CopyFileHandle> ExtendCopyFileList

//		bool CopyLogToDesktop
	);

private:
	Ui::AST_QT ui;
};
